﻿<Window x:Class="MyRecipeBook.UI.Windows.WindowMain"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    
        xmlns:cc="clr-namespace:MyRecipeBook.UI.Controls"    
        Title="WindowMain" 
        Style="{DynamicResource StyleWindow}"
        Height="644" Width="970">
    
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/MyRecipeBook.UI;component/Themes/BrushDictionary.xaml" />
                <ResourceDictionary Source="/MyRecipeBook.UI;component/Themes/WindowDictionary.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    
    <Grid>       
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" x:Name="RowTitle" />
            <RowDefinition Height="150" x:Name="RowDashboard" />
            <RowDefinition Height="*" x:Name="RowMain" />
        </Grid.RowDefinitions>
        
        <cc:ControlWindowTitle WindowTitle="My Recipe Book" Grid.Row="0" />
        
        <cc:ControlDashboard Grid.Row="1" />

        <Canvas Margin="5" Grid.Row="2" />
    </Grid>
    
</Window>
